import Vue from "vue";
import VueRouter from "vue-router";

import Cinema from "./Cinema";
import Mine from "./Mine";
import Movie from "./Movie";
import Information from "./Information";
Vue.use(VueRouter);

export default new VueRouter({
  mode: "hash",
  base: process.env.BASE_URL,
  routes: [
    Cinema,
    Mine,
    Movie,
    Information,
    {
      path: "/*",
      redirect: "/movie",
    },
  ],
});
